/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package edu.upf.Ilusio.messaging;

import edu.upf.Ilusio.Entities.Picture;
import edu.upf.Ilusio.Interfaces.Content;
import edu.upf.Ilusio.Interfaces.DescriptionContent;

/**
 *
 * @author xday666
 */
public class dataContent implements Content, DescriptionContent {
    Picture pic = new Picture();
    Object data = new Object();

        public dataContent(Picture pic){
            this.pic=pic;
        }
        public dataContent(Picture pic, Object data){
            this.pic=pic;
            this.data=data;
        }
        public Object getData(){
            return data;
        }
        public void setData(Object data){
            this.data=data;
        }

        public Picture getPicture(){
            return pic;
        }


}
